index was out of range error
protected void GridView1_RowCreated(object sender, GridViewRowEventArgse)
{
foreach (TableRow row in GridView1.Controls[0].Controls)
{
row.Cells[0].Visible = false;
}
}
protected void GridView1_RowCreated(object sender, GridViewRowEventArgse)
{
foreach (TableRow row in GridView1.Controls[0].Controls)
{
row.Cells[0].Visible = false;
}
}